import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
import seller from '../components/seller/seller.vue'
import goods from '../components/goods/goods.vue'
import ratings from '../components/ratings/ratings.vue'
Vue.use(Router)

export default new Router({
  routes: [
    { path: '/', redirect: '/goods' },
    { path: '/seller', component: seller },
    { path: '/goods', component: goods },
    { path: '/ratings', component: ratings }
  ]
})
